//---------------------------------------------------------------------
// File: UnitTest1.cs
// 
// Summary: 
//
// Author: Kevin B. Smith (http://blogs.msdn.com/kevinsmi)
//
//---------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//---------------------------------------------------------------------

using System;
using System.Text;
using System.Collections.Generic;
using NUnit.Framework;
using Microsoft.Services.BizTalkApplicationFramework.BizUnit;

namespace SampleSolutionFunctionalTests
{
    /// <summary>
    /// Summary description for UnitTest1
    /// </summary>
    [TestFixture]
    public class TestSampleProject
    {

        [TestFixtureSetUp]
        static public void SetUp()
        {
            BizUnit bizUnit = new BizUnit(@".\..\..\TestCases\Test_Setup.xml", BizUnit.TestGroupPhase.TestGroupSetup);
            bizUnit.RunTest();
        }

        [Test]
        public void Test_01_Orchestration1()
        {
            BizUnit bizUnit = new BizUnit(@".\..\..\TestCases\Test_01_Orchestration1.xml");
            bizUnit.RunTest();
        }

        [Test]
        public void Test_02_Orchestration2()
        {
            BizUnit bizUnit = new BizUnit(@".\..\..\TestCases\Test_02_Orchestration2.xml");
            bizUnit.RunTest();
        }

        [Test]
        public void Test_03_Orchestration1_Negative()
        {
            BizUnit bizUnit = new BizUnit(@".\..\..\TestCases\Test_03_Orchestration1_Negative.xml");
            bizUnit.RunTest();
        }

        [Test]
        public void Test_04_Orchestration1_Negative()
        {
            BizUnit bizUnit = new BizUnit(@".\..\..\TestCases\Test_04_Orchestration1_Negative.xml");
            bizUnit.RunTest();
        }

        [Test]
        public void Test_05_Orchestration1_FILEOnly()
        {
            BizUnit bizUnit = new BizUnit(@".\..\..\TestCases\Test_05_Orchestration1.xml");
            bizUnit.RunTest();
        }
    }
}
